<script>
	export default {
		onLaunch: function() {
			if (typeof WeixinJSBridge == "object" && typeof WeixinJSBridge.invoke == "function") {
				WeixinJSBridge.invoke('setFontSizeCallback', {
					'fontSize': 0
				});
				// 重写设置网页字体大小的事件
				WeixinJSBridge.on('menu:setfont', function() {
					WeixinJSBridge.invoke('setFontSizeCallback', {
						'fontSize': 0
					});
				});

			};

			setTimeout(() => {
				/* 	uni.setTabBarBadge({
						index: 1,
						text: '31'
					});
					uni.showTabBarRedDot({
						index: 3
					}); */
			}, 1000);



		},
		onShow: function() {

		},
		onHide: function() {

		}
	};
</script>

<style lang="scss">
	@import './common/uni.css';

	* {
		font-family: 'Microsoft YaHei';
	}

	body {
		-webkit-text-size-adjust: 100% !important;
	}

	.container {
		height: 100vh;
		display: flex;
		flex-direction: column;
		// background-color: $theme-color;
	}

	.font-blue {
		color: $font-bule-color;
	}

	.font-grey {
		color: $font-grey-color;
	}

	.font-theme-color {
		color: $theme-color;
	}

	@for $i from 1 through 4 {
		$base: 10;
		$fontsize: $base * $i;

		.font-#{$fontsize} {
			font-size: $fontsize + 0px;
		}
	}


	@for $i from 1 through 4 {
		$fontsize: 10*$i;

		.left-#{$fontsize} {
			margin-left: $fontsize + 0px;
		}

		.top-#{$fontsize} {
			margin-top: $fontsize + 0px;
		}
	}
	
	@font-face {
		font-family: 'aliicon';  /* project id 1714344 */
	    src: url('//at.alicdn.com/t/font_1714344_1avk1d64dq5.woff2?t=1621998439475') format('woff2'),
       url('//at.alicdn.com/t/font_1714344_1avk1d64dq5.woff?t=1621998439475') format('woff'),
       url('//at.alicdn.com/t/font_1714344_1avk1d64dq5.ttf?t=1621998439475') format('truetype');

	}


	.ali-icon {
		font-family: "aliicon" !important;
		font-size: 20px;
		color: $theme-color;
		font-style: normal;
		-webkit-font-smoothing: antialiased;
		-moz-osx-font-smoothing: grayscale;
	}

	.width-50 {
		width: 50%;
	}

	.txt-left {
		text-align: left;
	}



	.del-jiao {
		position: absolute;
		right: 5px;
		top: 0px;
		text-align: center;
		color: white;

		width: 0;
		height: 0;
		transform: rotate(90deg);
		border-width: 16px;
		border-color: #007AFF transparent transparent #007AFF;
		border-style: solid;
		border-top-left-radius: 10px;

		margin-top: -1px;
		right: 0px;
		position: absolute;
	}

	.card-del {
		font-size: 10px;
		color: white;
		position: absolute;
		right: 5px;
		top: 4px;
	}

	.uni-simple-toast__text {
		font-size: 35upx !important;
	}

	// uni-page-body,#app {height: 100%;}

	/*每个页面公共css */
</style>
